home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / comms / other / netinfo_20 / install_netinfo < prev    next >
Text File  |  1999-05-25  |  29KB  |  680 lines

  1. ;******************************************************************************
  2. ;      _   __         __   ______                             ______ ______
  3. ;     / \ / /       _/ /_ /_  __/                            /_  __//_  __/
  4. ;    /   \ /______ /  __/  / /  ______ ______ ______          / /    / /
  5. ;   / /\  // ____/ / /    / /  / __  // ____// __  /______   / /    / /
  6. ;  / / / // __/_  / /_ __/ /_ / / / // __/  / /_/ //_____/__/ /_ __/ /_
  7. ; /_/ /_//_____/ /___//_____//_/ /_//_/    /_____/       /_____//_____/
  8. ;
  9. ; $VER: NetInfo-II_Installer 0.57 (May-18-1999) 
  10. ; NetInfo by Oliver Wagner ©1997-1999
  11. ; Installer by Robert C. Reiswig ©1997, 1998, 1999
  12. ;
  13. ; If you wish to use any part of this installer you must ask. May not be 
  14. ; integrated/placed into any other package. You may NOT change this in an way!
  15. ; Changes, suggestions or problems: netinfo-II@vgr.com or rob@vapor.com
  16. ;******************************************************************************
  17.  
  18. ; NetInfo-II name 
  19.  
  20. ;*** System Stuff ***
  21. (set cpu (database "cpu"))  (set vblank (database "vblank"))
  22. (set graphmem (database "graphics-mem")) (set totmem (database "total-mem"))
  23. (set osver (/ (getversion "LIBS:version.library") 65536))
  24. (if (= vblank "60") ((set blank "NTSC")) ((set blank "PAL")))
  25. (set fastmem (- totmem graphmem))
  26.  
  27. (if (= osver 37) (set workbench "2.0")) (if (= osver 38) (set workbench "2.1"))
  28. (if (= osver 39) (set workbench "3.0")) (if (= osver 40) (set workbench "3.1"))
  29. (if (= osver 41) (set workbench "3.2"))
  30.  
  31. (set cpu (database "cpu"))
  32. (if (= cpu 68000) (set #cpu 0)) (if (= cpu 68010) (set #cpu 1))
  33. (if (= cpu 68020) (set #cpu 2)) (if (= cpu 68030) (set #cpu 3))
  34. (if (= cpu 68040) (set #cpu 4)) 
  35. (if (> (exists ("sys:libs/68060.library")) 0) (set #cpu 5) )
  36.  
  37. (set vernum1 (getversion "NetInfo")) (set ver1 (/ vernum1 65536))
  38. ;(set vernum1 (getversion "mui/StringNumeric.mcc")) (set ver1 (/ vernum1 65536)) 
  39.  
  40. (set rev1 (- vernum1 (* ver1 65536) ) ) (set NetInfover (cat ver1 "." rev1))
  41.  
  42. (if (> (exists ("env:Language")) 0) (set lanfound (getenv "Language")) )
  43. (set lan 0)
  44.  
  45. (if (= "english"    lanfound) (set lan 0))  (if (= "deutsch"    lanfound) (set lan 1))
  46. (set #English    "English")  (set #Deutsch    "Deutsch")
  47.  
  48. (set mfound 0) (set newicon1 1) 
  49. (set keeper 1) (set firsttime 0)
  50.  
  51. ;********************************************************************
  52. ; English Strings
  53. ;********************************************************************
  54. (set #about (cat "\n\n\n\nWelcome to NetInfo-II " NetInfover "\n\n\nCopyright ©1997-1999 by Oliver Wagner\n") )
  55. (set #installup " Install or Update NetInfo-II")
  56. (set #clearcache " Clear Cache Directory")
  57. (set #task "\nWhat would you like to do?\n")
  58. (set #whereNetInfo "Where do you wish to install NetInfo-II. The directory 'NetInfo-II' will be created if it is not there. If a copy of NetInfo-II is found it will be backed up.")
  59. (set muiver "No Version Installed")
  60. (set #newermui "\nNetInfo-II needs version 3.8 or higher of MUI installed to work correctly.\n\nNow would be a good time to Upgrade!\n\nYou can find mui38usr.lha on Aminet in util/libs\n\nIt looks like you have: \n\n")
  61. (set #nomuiarc "\nThe installer could not find the MUI dir in the archive. Because of this the MUI Classes used by NetInfo-II were not installed.\n\n If you are Updating NetInfo-II then this is not a problem. If it is your first time installing NetInfo-II you will need to get an archive with these files.")
  62. (set #updatingmuic "\nUpdating the MUI Classes if needed.\n\n(#?.mcc & #?.mcp)")
  63. (set #nompc "\nThe .MCC files for NetInfo-II can not be installed to 'mui:libs/mui'")
  64. (set #need-os "\n\nNetInfo-II needs version 3.0 or higher of the Amiga OS installed to work correctly.\n\n It looks like you have: \n\n")
  65. (set #000used "\n\nThe 68000 version will be installed.") 
  66. (set #nompc "\nThe .MPC files for NetInfo-II can not be installed to 'mui:libs/mui'")
  67. (set #noreg1 "\nThe installer could not find 'S:NetInfo-II.Key' or '")
  68. (set #noreg2 "' on your system. It also does not seem to be in the archive you are installing NetInfo-II from. You may need to get the archive again.\n\nThe installer will now run the Registration Utility, 'Registrationutility'.")   
  69. (set #filethere1 "\n\nThe installer has found NetInfo-II version ")
  70. (set #filethere2 " at ")
  71. (set #filethere3 "\n\nThe file will be renamed to ")
  72. (set #filethere4 " and it will then be moved to ")
  73. (set #backuptoXXX "Back-UP to file named 'NetInfo-II.")
  74. (set #copyover "Copy Over Old Version")
  75. (set #oktodelete1 "\nIs it ok to delete the older NetInfo-II binary so that the NetInfo-II Directory can be made?\n")
  76. (set #oktodelete2 "\nIs it ok to delete the older _renamed_ NetInfo-II binary so that the NetInfo-II Directory can be made?\n")
  77. (set #NetInfofound "\nThe Installer has found a copy of NetInfo-II already installed. What do you want to do?\n")
  78. (set #no030found "\n\nThe 68030+FPU Version of NetInfo-II, V030, was not found in this archive this is why the 68000 version was installed.")
  79. (set #newicon "\nDo you wish to copy over The NetInfo-II Icon from the archive? If you have any ToolTypes already set you should select no.\n")
  80. (set #nonewicon  "No  - ToolTypes already set.")
  81. (set #yesnewicon "Yes - Copy over Icon.")
  82. (set #yesnewicon "Yes - Copy over Icon.")
  83. (set #whatcat "\nSelect the NetInfo-II Language catalog you wish to install.\n")
  84. (set #wherecat "\nWhere do you wish to install the NetInfo-II Language Catalog? Default is ")
  85. (set #catnofind "Can not find this catalog in this NetInfo-II archive. You may need to get a newer archive.")
  86. (set #whattools "\nWhat Tools would you like to install? They will be placed in: ")
  87. (set #updatingmuic "\nUpdating the MUI Classes if needed.\n\n(#?.mcc & #?.mcp)")
  88. (set #nomuiarc "\nThe installer could not find the MUI dir in the archive. Because of this the MUI Classes used by NetInfo-II were not installed.\n\n If you are Updating NetInfo-II then this is not a problem. If it is your first time installing NetInfo-II you will need to get an archive with these files.")
  89. (set #whatdocs "\nWhat NetInfo-II documentation would you like to install?\n")
  90. (set #wheredocs "Where would you like the NetInfo-II documentation you selected to be installed?")
  91. (set #byebye (cat "\nNetInfo-II Install Complete!\n\n" ))
  92.  
  93. (set #askcpu "\nWhat version of NetInfo-II would you like to install?\n")
  94. (set #noregdir "\nThe Registration directory was not found. This means that the archive has been altered or is bad. Please get another copy of the NetInfo-II Archive.\n\nOR\n\nThe Keyfile is missing. Please contact your REG site.")
  95. (set #updatesetpatch "\nThe installer looked for 'c:setpatch' and did not find it or you have a version lower then 40.16. NetInfo-II needs version 40.16 to work correctly. You wany want to upgrade soon. (NOTE: if you keep 'setpatch' in a different place than 'c:' and its 40.16 or higher then this message is void.)")
  96. (set #updateinstaller "\nJust to let you know ESCOM AG has released a new version of the installer program.\n\n\nVersion 43.3 can be found on Aminet in:\n\n/util/misc/Installer-43_3.lha\n\n\nYou might want to upgrade soon, if you can.")
  97.  
  98. (set #whatcat "\nSelect the NetInfo-II Language catalog you wish to install.\n")
  99. (set #wherecat "\nWhere do you wish to install the NetInfo-II Language Catalog? Default is ")
  100. (set #catnofind "Can not find this catalog in this NetInfo-II archive. You may need to get the complete archive from the support site.")
  101.  
  102. (set #wantbuttons "\nThe installer has found that the directory 'Images' exist. Do you still wish to install the default Images? If you have created your own you should select 'No'.\n")
  103. (set #yesbutton "Yes - Copy default images over")
  104. (set #nobuttons "No - Use currently installed images")
  105.  
  106. (set #wantflags "\nThe installer has found that the directory 'Images/Flags' exist. Do you still wish to install the default Flag images? If you have created your own you should select 'No'.\n")
  107. (set #yesflags "Yes - Copy default Flag images over")
  108. (set #noflags "No - Use currently installed Flag images")
  109.  
  110. (set #updatedlibs "\nInstall/Update the Vapor Libraries?\n* = Must be installed to work correctly\n(Click 'Help' for more info on the libs.)\n")
  111. (set #lib1 " Update